﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class WeekotherBLL:IWeekotherBLL
    {
        public int AddWeekother(WeekotherInfo wo)
        {
            return DALFactory.CreateWeekotherDAL().AddWeekother(wo);
        }
        public int UpdateWeekother(string num, string sday, string eday, string info, string jx)
        {
            return DALFactory.CreateWeekotherDAL().UpdateWeekother(num, sday, eday, info, jx);
        }
        public int UpdateWeekotherJX(string num, string jx)
        {
            return DALFactory.CreateWeekotherDAL().UpdateWeekotherJX(num, jx);
        }
        public int Del(string num)
        {
            return DALFactory.CreateWeekotherDAL().Del(num);
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateWeekotherDAL().Select(num);
        }
        public DataSet SelectByDay(string sday)
        {
            return DALFactory.CreateWeekotherDAL().SelectByDay(sday);
        }
        public string AUTOID()
        {
            return DALFactory.CreateWeekotherDAL().AUTOID();
        }
    }
}
